<!--
 * @Description: 错误详情
 * @Author: 0001101008/HuYuxi
 * @Date: 2021-06-29 19:34:13
 * @LastEditTime: 2021-07-15 19:05:50
 * @LastEditors: 0001100986/LiuShuai
-->
<template>
  <div class="error-tip">
    <el-alert :title="$t('network.OPerationFailed')" type="error" show-icon>
      <span v-for="(item, index) in errAry" :key="index">
        {{$t('alarms.NEName')}}：{{item.neName}}
        <br />
        {{$t('network.ErrorMessage')}}：{{item.error}}
        <br />
      </span>
    </el-alert>
  </div>
</template>
<script>
export default {
  name: 'error',
  props: ['confirmError', 'errAry'],
};
</script>
<style lang="scss" scoped>
.error-tip {
  margin-bottom: 15px;
}
</style>

